<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	request.setCharacterEncoding("UTF-8");
	String name = request.getParameter("name");
	String password = request.getParameter("pass");
	String sex = request.getParameter("sex");
	String email = request.getParameter("email");
	String year = request.getParameter("year");
	String mouth = request.getParameter("bmon");
	String day = request.getParameter("bday");
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'reginfo.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  <body>
    <div align="center">你输入的注册信息：
    	<table border="1" align="center">
    		<tr>
    			<td height="20">用户名： </td>
    			<td><%=name %></td>
    		</tr>
    		<tr>
    			<td height="20">密码： </td>
    			<td><%=password %></td>
    		</tr>
    		<tr>
    			<td height="20">性别： </td>
    			<td><%=sex %></td>
    		</tr>
    		<tr>
    			<td height="20">生日： </td>
    			<td><%=year %>年<%=mouth %>月<%=day %>日</td>
    		</tr>
    	</table>
    </div>
  </body>
</html>
